package com.mp.approvalreq.dao;

import com.mp.approvalreq.entity.Query;
import com.mp.approvalreq.entity.RelateHistory;

import java.sql.SQLException;
import java.util.List;

/**
 * @program: approval-parent
 * @description
 * @author: xu1
 * @create: 2020-08-26 13:59
 **/
public interface RelateHistoryDao {
    /**
     *  修改审批 关联 历史记录
     *
     * @param
     * @throws SQLException
     */
    void insertApprovalRelate(RelateHistory relateHistory) throws SQLException;

    /**
     *  修改审批 关联 历史记录
     *
     * @param
     * @throws SQLException
     */
    List<RelateHistory> getRelateHistory(Query query) throws SQLException;

}
